import request from '@/utils/request';

/**
 * 小程序用户表
 *
 * @author developer
 * @email developer@163.com
 * @date 2025-05-14 18:45:11
 */
export function useTbApi() {
    return {
        list: (params) => {
        return request({
            url: '/tb/user/list',
            method: 'get',
            params
        });
},
    add: (params) => {
        return request({
                            url: '/tb/user',
                method: 'put',
                        data: params
        });
    },
    update: (params) => {
        return request({
                            url: '/tb/user',
                method: 'put',
                        data: params
        });
    },
    delete: (params) => {
        return request({
                            url: '/tb/user',
                method: 'delete',
                        data: params
        });
    }
};
}
